HipRendererImplementation

Undocumented in source.
class HipRendererImplementation : IHipRenderer {}

Members

Functions

begin
void begin()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear(HipColorf color)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
createBuffer
IHipRendererBuffer createBuffer(size_t size, HipResourceUsage usage, HipRendererBufferType type)
Undocumented in source. Be warned that the author may not have intended to support it.
createVertexArray
IHipVertexArrayImpl createVertexArray()
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
drawIndexed
void drawIndexed(index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
drawIndexed
void drawIndexed(HipRendererMode mode, index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
drawVertices
void drawVertices(index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
drawVertices
void drawVertices(HipRendererMode mode, index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end()
Undocumented in source. Be warned that the author may not have intended to support it.
exitOnError
void exitOnError(string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentConfig
HipRendererConfig getCurrentConfig()
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentViewport
Viewport getCurrentViewport()
Undocumented in source. Be warned that the author may not have intended to support it.
getDepthTestingFunction
HipDepthTestingFunction getDepthTestingFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
getInfo
HipRendererInfo getInfo()

Info is data that can't be changed from the renderer.

getMatrix
T getMatrix(T mat)

Fixes the matrix order based on the config and renderer. If the renderer is column and the config is row, it will tranpose

getMaxSupportedShaderTextures
int getMaxSupportedShaderTextures()
Undocumented in source. Be warned that the author may not have intended to support it.
getMode
HipRendererMode getMode()
Undocumented in source. Be warned that the author may not have intended to support it.
getQuadIndexBuffer
IHipRendererBuffer getQuadIndexBuffer(size_t quadsCount)

Populates a buffer with indices forming quads If the quadsCount is bigger than the existing one, throws since it probably can be set at compile time and it is easier to control like that

getStatistics
Statistics getStatistics()
Undocumented in source. Be warned that the author may not have intended to support it.
getTextureImplementation
IHipTexture getTextureImplementation(HipResourceUsage usage)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
HipRendererType getType()
Undocumented in source. Be warned that the author may not have intended to support it.
hasErrorOccurred
bool hasErrorOccurred(string err, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
initExternal
bool initExternal(HipRendererType type, int windowWidth, int windowHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
bool initialize(string confData, string confPath)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
bool initialize(IHipRendererImpl impl, HipRendererConfig* config, uint width, uint height, bool isExternal)
Undocumented in source. Be warned that the author may not have intended to support it.
isDepthTestingEnabled
bool isDepthTestingEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
newFrameBuffer
HipFrameBuffer newFrameBuffer(int width, int height, Shader frameBufferShader)
Undocumented in source. Be warned that the author may not have intended to support it.
newShader
Shader newShader()
Undocumented in source. Be warned that the author may not have intended to support it.
newShader
Shader newShader(string vertexShaderPath, string fragmentShaderPath)
Undocumented in source. Be warned that the author may not have intended to support it.
reinitialize
void reinitialize()
Undocumented in source. Be warned that the author may not have intended to support it.
setCamera
void setCamera()
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
setColorMask
void setColorMask(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthTestingEnabled
void setDepthTestingEnabled(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthTestingFunction
void setDepthTestingFunction(HipDepthTestingFunction fn)
Undocumented in source. Be warned that the author may not have intended to support it.
setErrorCheckingEnabled
void setErrorCheckingEnabled(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
setRendererMode
void setRendererMode(HipRendererMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
setShader
void setShader(Shader s)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilOperation
void setStencilOperation(HipStencilOperation stencilFail, HipStencilOperation depthFail, HipStencilOperation stencilAndDephPass)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingEnabled
void setStencilTestingEnabled(bool bEnable)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingFunction
void setStencilTestingFunction(HipStencilTestingFunction passFunc, uint reference, uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingMask
void setStencilTestingMask(uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
setViewport
void setViewport(Viewport v)
Undocumented in source. Be warned that the author may not have intended to support it.
setWindowSize
void setWindowSize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Statistics
struct Statistics
Undocumented in source.

Variables

currentConfig
HipRendererConfig currentConfig;
Undocumented in source.
currentDepthTestFunction
HipDepthTestingFunction currentDepthTestFunction;
Undocumented in source.
currentShader
Shader currentShader;
Undocumented in source.
currentViewport
Viewport currentViewport;
Undocumented in source.
depthTestingEnabled
bool depthTestingEnabled;
height
uint height;
Undocumented in source.
mainViewport
Viewport mainViewport;
Undocumented in source.
quadIndexBuffer
IHipRendererBuffer quadIndexBuffer;
Undocumented in source.
rendererImpl
IHipRendererImpl rendererImpl;
Undocumented in source.
rendererMode
HipRendererMode rendererMode;
Undocumented in source.
rendererType
HipRendererType rendererType;
Undocumented in source.
res
HipRendererResources res;
Undocumented in source.
stats
Statistics stats;
Undocumented in source.
width
uint width;
Undocumented in source.
window
HipWindow window;
Undocumented in source.

Meta